package org.third.integration.kubernates.cmd.imp.bean;

public class KubeInstanceInfo {
	
	public KubeInstanceInfo() {
		super();
	}

	private String type;
	private String apiVersion;
	private String instanceName;
	private String namespace;
	private String yamlContent;
	
	private String responseBody;
	private int statusCode;
	
	/**
	 * @param type
	 * @param apiVersion
	 * @param instanceName
	 * @param namespace
	 * @param yamlContent
	 */
	public KubeInstanceInfo(String type, String apiVersion,
			String instanceName, String namespace, String yamlContent) {
		super();
		this.type = type;
		this.apiVersion = apiVersion;
		this.instanceName = instanceName;
		this.namespace = namespace;
		this.yamlContent = yamlContent;
	}

	public String getType() {
		return type;
	}

	public String getYamlContent(){
		return yamlContent;
	}

	public void setYamlContent(String yamlContent) {
		this.yamlContent = yamlContent;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getApiVersion() {
		return apiVersion;
	}

	public void setApiVersion(String apiVersion) {
		this.apiVersion = apiVersion;
	}

	public String getInstanceName() {
		return instanceName;
	}

	public void setInstanceName(String instanceName) {
		this.instanceName = instanceName;
	}

	public String getNamespace() {
		return namespace;
	}

	public void setNamespace(String namespace) {
		this.namespace = namespace;
	}

	public String getResponseBody() {
		return responseBody;
	}

	public void setResponseBody(String responseBody) {
		this.responseBody = responseBody;
	}

	public int getStatusCode() {
		return statusCode;
	}

	public void setStatusCode(int statusCode) {
		this.statusCode = statusCode;
	}

	@Override
	public String toString() {
		return "KubeInstanceInfo [type=" + type + ", apiVersion=" + apiVersion
				+ ", instanceName=" + instanceName + ", namespace=" + namespace
				+ ", yamlContent=" + yamlContent + ", responseBody="
				+ responseBody + ", statusCode=" + statusCode + "]";
	}
	
}
